import { Component, OnInit, Input } from '@angular/core';

@Component({
  selector: 'app-wenyao-head-portrait',
  templateUrl: './wenyao-head-portrait.component.html',
  styleUrls: ['./wenyao-head-portrait.component.scss']
})
export class WenyaoHeadPortraitComponent implements OnInit {

  private _url;

  @Input()
  set url(_url: string) {
    console.log(_url);
    this._url = _url;
  }

  get url() {
    return this._url;
  }

  constructor() { }

  ngOnInit() {
  }

}
